package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.ZjBranchAmountDao;
import io.renren.entity.ZjBranchAmountEntity;
import io.renren.service.ZjBranchAmountService;



@Service("zjBranchAmountService")
public class ZjBranchAmountServiceImpl implements ZjBranchAmountService {
	@Autowired
	private ZjBranchAmountDao zjBranchAmountDao;
	
	@Override
	public ZjBranchAmountEntity queryObject(Integer id){
		return zjBranchAmountDao.queryObject(id);
	}
	
	@Override
	public List<ZjBranchAmountEntity> queryList(Map<String, Object> map){
		return zjBranchAmountDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return zjBranchAmountDao.queryTotal(map);
	}
	
	@Override
	public void save(ZjBranchAmountEntity zjBranchAmount){
		zjBranchAmountDao.save(zjBranchAmount);
	}
	
	@Override
	public void update(ZjBranchAmountEntity zjBranchAmount){
		zjBranchAmountDao.update(zjBranchAmount);
	}
	
	@Override
	public void delete(Integer id){
		zjBranchAmountDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		zjBranchAmountDao.deleteBatch(ids);
	}
	
}
